
namespace JTZY.Model.Order.Dto
{
    /// <summary>
    /// 发货单详情表查询对象
    /// </summary>
    public class CorecmsbilldeliveryitemQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 发货单详情表输入输出对象
    /// </summary>
    public class CorecmsbilldeliveryitemDto
    {
        [Required(ErrorMessage = "序列不能为空")]
        public int Id { get; set; }

        public string OrderId { get; set; }

        [Required(ErrorMessage = "发货单号 关联bill_delivery.id不能为空")]
        public string DeliveryId { get; set; }

        [Required(ErrorMessage = "商品ID 关联goods.id不能为空")]
        public int GoodsId { get; set; }

        [Required(ErrorMessage = "货品ID 关联products.id不能为空")]
        public int ProductId { get; set; }

        [Required(ErrorMessage = "货品编码不能为空")]
        public string Sn { get; set; }

        [Required(ErrorMessage = "商品编码不能为空")]
        public string Bn { get; set; }

        [Required(ErrorMessage = "商品名称不能为空")]
        public string Name { get; set; }

        [Required(ErrorMessage = "发货数量不能为空")]
        public int Nums { get; set; }

        [Required(ErrorMessage = "重量不能为空")]
        public decimal Weight { get; set; }

        public string Addon { get; set; }



    }
}